package com.csy.property.community.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Auther: sunxx
 * @Date: 2024/4/23 - 04 - 23 - 17:21
 * @Description: com.sxx.ajcommunity.community.domain
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AjCommunityInteraction extends BaseEntity {

    private static final long serialVersionUID = -6270816134205477876L;

    /*意见号*/
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long interactionId;

    /*小区id*/
    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityId;

    /*小区id*/
    private String content;

    /*小区id*/
    private Long delFlag;

    /*小区id*/
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    @TableField(exist = false)
    private String ownerNickname;
    @TableField(exist = false)
    private String ownerRealName;
    @TableField(exist = false)
    private String ownerPhoneNumber;
}
